:root{
    --dark-purple:#230F2E;
    --brown-black: #181604;
    --snow:#FCF7F8;
    --magnolia-pink:#F6EFFB;
    --light-violet:#391551;
}
*{
    margin:0;
    padding:0;
}
nav{
    display: grid;
    grid-template-columns: 30% 60%;
    column-gap: 10%;
    margin: 5vh 0;
    color: var(--brown-black);
}
#logo-nav{
    width:100%;
    height: auto;
}
#logo-nav path{
    fill:var(--snow);
}
#logo-nav-box{
    display:flex;
    align-items: center;
    width:100%;
    transition: width 1s ease 0.2s;
}
#logo-nav-box:hover{
    background-color: var(--light-violet);
    border-radius:1vmax;
    width:110%;
}
header ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 5%;
    column-gap: 2vmax;
    margin-top: 5%;
    justify-items: center;
}
header li{
    height:100%;
    width: 100%;
    text-align: center;
    background-color: var(--magnolia-pink);
    border-radius: 1vmax;
    font-size: 2.5vw;
    transition:width 0.7s ease 0.2s, font-size 1s ease 0.1s, border-bottom 0.7s ease 0.2s ;
    border-bottom: none;
}
header li:hover{
    width:95%;
    font-size:2.1vmax;
    border-bottom: 0.4vmax solid var(--light-violet);
}
a {
    all:unset;
    cursor: pointer;
    width:100%;
    height:100%;
}
body{
    background-color: var(--magnolia-pink);
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height:100vh;
    max-width:100vw;
    height: 100vh;
}
main{
    display:grid;
    grid-template-columns: 15% 70% 15%;
    padding-top: 2vmax;
}
footer{
    padding: 2% 10% 2% 0;
    text-align: right;
    background-color: var(--dark-purple);
    border-top: 0.3vmax solid black;
    color:var(--snow);
}
header {
    background-color: var(--dark-purple);
    padding:0 10%;
    border:solid #1e0b28;
    border-width: 0.5vmax 0 0.5vmax 0;
    position: relative;
}
h2#Welcome{
    margin:0 0 2% 0;
    font-size:2.5vmax;
}
header div {
    height:100%;
    width:auto;
    display: flex;
    align-items: center;
}
header p {
    margin:auto;
}
#about-text{
    font-size: 1.5vmax; 
}
/*section::before{
    content:"";
    background-color: aqua;
    position: absolute;
    left:0;
    width: 100vw;
    height: 250px;
    z-index: -1;
}
*/

.contact-item a{
    display:inline-flex;
    gap:1vmax;
    align-items: center;
    max-width: 80%;
}
.contact-item{
    font-size:3vw;
}
.contact-icon{
    width:3vw;
    height: auto;
}
#menu-icon{
    display:none;
}
#index-middle-part section{
    margin-top: 1vh;
}
#silly-cat-section img{
    max-width:100%;
    height: 20vmax;
    display: block;
    margin:0 auto;
}
#cat-grid{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 1vw;
}
#cat-grid div{
    height:100%;
    width:auto;
}
#silly-cat-section h2{
    text-align: center;
    margin:2vh 0 2vh;
}
#cat-grid p{
    font-size: 1.5vw;
}
/*CONTACT*/
#contact-form {
      background: #ffffff;
      padding: 30px;
      border-radius: 15px;
      max-width: 450px;
      width: 100%;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 2% 0 2%;
      justify-self: center;
    }

    #contact-form h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    #contact-form label {
      display: block;
      margin-bottom: 5px;
      font-weight: 600;
      color: #555;
    }

    #contact-form input,
    #contact-form textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 10px;
      box-sizing: border-box;
      font-size: 16px;
      transition: border 0.3s ease, box-shadow 0.3s ease;
    }

    #contact-form input:focus,
    #contact-form textarea:focus {
      border-color: #2575fc;
      box-shadow: 0 0 8px rgba(37, 117, 252, 0.4);
      outline: none;
    }

    #contact-form button {
      width: 100%;
      padding: 12px;
      background-color: #2575fc;
      color: white;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 600;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    #contact-form button:hover {
      background-color: var(--light-violet);
      transform: scale(1.03);
    }

    #contact-form #status {
      text-align: center;
      margin-top: 10px;
      font-weight: bold;
      color: #333;
    }
    #contact-form textarea {
    resize: none; /* Prevent user from resizing */
    }







@media (max-aspect-ratio:1/1.5) {
    header ul{
        display:grid;
        opacity: 0;
        padding:0;
        transform-origin: top;
        overflow: hidden;
        transform: scaleY(0);
        position:absolute;
    }
    #menu-icon{
        display:block;
        width:8vw;
        height: auto;
        align-self: center;
    }
    #menu-icon path{
        fill:#FCF7F8;
    }
    nav{
        grid-template-columns: 1fr 1fr;
        place-items: center;
    }
    #menu-toggle:checked ~ ul{
        position: absolute;
        display:grid;
        width:100%;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3,1fr);
        top:100%;
        left:0;
        padding: 0 0 2vh;
        margin: 0;
        background-color: var(--dark-purple);
        row-gap: 0.7vh;
        transform: scaleY(1);
        opacity: 1;
        transition: transform 0.3s, padding 0.3s,opacity 0.3s;
        border-bottom: 0.5vh solid black;
    }
    header li {
        width:50vw;
        height:2.5vh
    }
    header label{
        place-self: end;
    }
    #cat-grid{
        grid-template-columns: 1fr;
    }
}
